<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{:config('web.WEB_TIT')}</title>
<meta name="keywords" content="{:config('web.WEB_KEY')}">
<meta name="description" content="{:config('web.WEB_DES')}">
{include file="index/header"}
<div class="filter">
  <div id="subnav" class="subnav">
    <div class="layui-main">
      <div class="subnav-main">
        <ul>
          <li><a href="/" class="active">全部</a></li>
          {volist name="CategoryList" id="vo"}
          <li><a href="{:url('cat/'.$vo.id)}">{$vo.name}</a></li>  
          {/volist}
        </ul>
      </div>
    </div>    
  </div>
</div>
<div class="swiper">
  <div class="layui-main">
    <!--产品分类-->
    <div class="category">
      <dl>
        {foreach $CategoryList as $item}
        <dd><a href="{:url('cat/'.$item.id)}"><i class="ct-icon {$item.icon}"></i>{$item.name}<em class="ct-line"></em></a></dd>
        {/foreach}
      </dl>
    </div>
    <!--产品分类-->
    <div class="slide" id="slide">
      <ul>
      {volist name="BannerList" id="vo"}
        {if condition="$vo.identity eq 'index-slide'"}
        <li><a href="{$vo.links}" target="_blank"><img src="{$vo.pic}" alt="{$vo.title}" /></a></li>
        {/if}
      {/volist}  
      </ul>
    </div>
    <div class="banner">
      <dl>
      {volist name="BannerList" id="vo"}
        {if condition="$vo.identity eq 'index-banner'"}
        <dd>
          <a href="{$vo.links}" target="_blank">
            <img src="{$vo.pic}" alt="{$vo.title}" />
          </a>
        </dd>
        {/if}
      {/volist}  
      {volist name="BannerList" id="vo"}  
        {if condition="$vo.identity eq 'index-banner-last'"}
        <dd class="last">
          <a href="{$vo.links}" target="_blank">
            <img src="{$vo.pic}" alt="{$vo.title}" />
          </a>
        </dd>
        {/if}
      {/volist}   
      </dl>
    </div>
  </div>
</div>
<div class="bread">
  <div class="layui-main">
    <div class="update-time">
      <div class="today">
        <i class="icon">NEW</i>今日新品<span>每天10点上新</span>
      </div>
    </div>
  </div>  
</div>
<div class="goods-list">
  <div class="layui-main">
  <!--产品列表-->
  {include file="public/goods"}
  <!--产品列表-->
  </div>
</div>
{include file="index/footer"}
</body>
</html>
